#include "work.h"
#include "QDebug"
#include "antistress.h"
Work::Work(QWidget *parent)
    : QWidget(parent)
{
	ui.setupUi(this);
	connect(ui.btnStop,SIGNAL(clicked()),this,SIGNAL(stopClicked()));
}

Work::~Work()
{

}

void Work::refresh(int time) {
    ui.lblTimeBeforePause->setText(QString::number(time/3600)+"h"+QString::number(time/60%60)+"min"+QString::number(time%60)+"sec");
}
